import { wordExisting } from './wordExisting.js'

const board = [["A","B","C","E"],["S","F","C","S"],["A","D","E","E"]]
const work = "ABCCED"

console.log(wordExisting(board, work))